package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ActionPageType;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ActionType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

/**
 * Created by wangly18345 on 2016/11/9.
 */
public class ActionLogForm extends HSBCPSVO {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @NotBlank
    @EnumValue(enumClass = ActionPageType.class)
    private String action_page;

    @NotBlank
    @EnumValue(enumClass = ActionType.class)
    private String action_type;

    @NotBlank
    @Length(max = 255)
    private String action_name;

    @Length(max = 500)
    private String url;

    @Length(max = 2500)
    private String remark;

    public String getAction_page() {
        return action_page;
    }

    public void setAction_page(String action_page) {
        this.action_page = action_page;
    }

    public String getAction_type() {
        return action_type;
    }

    public void setAction_type(String action_type) {
        this.action_type = action_type;
    }

    public String getAction_name() {
        return action_name;
    }

    public void setAction_name(String action_name) {
        this.action_name = action_name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ActionLogForm{");
        sb.append("action_page='").append(action_page).append('\'');
        sb.append(", action_type='").append(action_type).append('\'');
        sb.append(", action_name='").append(action_name).append('\'');
        sb.append(", url='").append(url).append('\'');
        sb.append(", remark='").append(remark).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
